package com.useeinfo.oa.modules.security.vo;


import java.util.ArrayList;
import java.util.List;

public
class NodesVO {

    String text;

    Long id;

    Long parentId;

    Integer lvl;

    List<NodesVO> nodes=new ArrayList<>();

    public NodesVO(String text, Long id, Long parentId, Integer lvl) {
        this.text = text;
        this.id = id;
        this.parentId = parentId;
        this.lvl = lvl;
    }

    public NodesVO() {
    }

    public NodesVO(String text, Long id) {
        this.text = text;
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getLvl() {
        return lvl;
    }

    public void setLvl(Integer lvl) {
        this.lvl = lvl;
    }

    public List<NodesVO> getNodes() {
        return nodes;
    }

    public void setNodes(List<NodesVO> nodes) {
        this.nodes = nodes;
    }
}
